
#ifndef _INITOBJECT_H_
#define _INITOBJECT_H_

class MainWindow;
class MainImg;

class InitObject : public QObject
{
    Q_OBJECT
public:
    ~InitObject();

	void connectDepthDataProcess(MainWindow *procObj);
	void connectDepthDataProcess(MainImg *procObj);

    void startInit(void);

    static InitObject* Instance()
    {
        if (!s_Instance)
        {
            s_Instance = new InitObject;
        }
        return s_Instance;
    }

    Q_SIGNALS:
    void initStart(void);
    void initFinish(void);

private:
    explicit InitObject(QObject *parent = Q_NULLPTR);

    static InitObject *s_Instance;
};

#endif

